package controller

import "github.com/gin-gonic/gin"

func InitAPI(r *gin.Engine) {
	v1 := r.Group("/rest")
	{
		v1.GET("/index", func(c *gin.Context) {
			c.JSON(200, gin.H{"message": "pong"})
		})
	}
}
